from selenium.webdriver.common.by import By
class SchoolHonorLocator():

    # 学校荣誉菜单
    school_honor =(By.XPATH, '//div[@class="site-sidebar__inner"]/ul/li[3]/span')

    # 校园荣誉/添加荣誉
    add_honor = (By.XPATH, '//main[@class="site-content"]/div[2]/div[1]/div/div[1]/div/button/span')

    # 名称查询输入框
    names = (By.XPATH, '//main[@class="site-content"]/div[2]/div[1]/div/div[1]/div/div/input')

    # 添加荣誉界面/标题标签--添加荣誉
    title_label = (By.XPATH, '//div[@aria-label="添加荣誉"]/div[1]/span')

    # 荣誉名称输入框
    honous_name = (By.CSS_SELECTOR, 'input[placeholder="请输入荣誉名称"]')
    # 荣誉名称输入框提示信息
    honous_name_tips = (By.XPATH, '//div[@aria-label="添加荣誉"]/div[2]/form/div[1]/div/div[2]')

    # 上传封面/input标签
    upload_pic = (By.XPATH, '//div[@aria-label="添加荣誉"]/div[2]/form/div[2]/div/div/div[1]/div[1]/input')
    # 上传封面/提示信息
    upload_pic_tips = (By.XPATH, '//div[@aria-label="添加荣誉"]/div[2]/form/div[2]/div/div/div[2]')

    # 备注
    note = (By.XPATH, '//div[@aria-label="添加荣誉"]/div[2]/form/div[3]/div/div/textarea')

    # 添加荣耀/取消按钮
    cancel = (By.XPATH, '//div[@aria-label="添加荣誉"]/div[2]/div/button[1]/span')
    # 添加荣耀/确定按钮
    sure = (By.XPATH, '//div[@aria-label="添加荣誉"]/div[2]/div/button[2]/span')
    # 添加荣誉/提示信息
    ele = (By.XPATH, '//div[@role="alert"]/p')

    # 荣誉列表第一个/名称标签
    honous_title = (By.XPATH, '//main[@class="site-content"]/div[2]/div[1]/div/div[2]/div[1]/div/div[1]')
    # 荣誉列表第一个悬浮定位
    honours1 = (By.XPATH, '//div[@class="el-card__body"]/div[2]/div[1]/div')
    # 荣誉列表第一个/编辑按钮
    honour_editor = (By.XPATH, '//main[@class="site-content"]/div[2]/div[1]/div/div[2]/div[1]/div/div[2]/button[1]/span')
    # 荣誉列表第一个/删除按钮
    honour_del = (By.XPATH, '//main[@class="site-content"]/div[2]/div[1]/div/div[2]/div[1]/div/div[2]/button[2]/span')
    # 确定删除按钮
    sure_del = (By.XPATH, '//div[@aria-label="系统提示"]/div/div[3]/button[2]/span')
    # 取消删除按钮
    cancel_del = (By.XPATH, '//div[@aria-label="系统提示"]/div/div[3]/button[1]/span')

    # 右下角页码   共*条
    tips = (By.XPATH, '//main[@class="site-content"]/div[2]/div[1]/div/div[3]/div/span[1]')